﻿using MyTask.Domain;
using MyTask.Tasking.Domain.TaskAggregate;
using System;
using System.Collections.Generic;
using System.Text;

namespace MyTask.Tasking.Domain.Events
{
   public class TaskCreatedDomainEvent : IDomainEvent
    {
        public TaskInfo TaskInfo { get; private set; }
        public TaskCreatedDomainEvent(TaskInfo taskInfo)
        {
            this.TaskInfo = taskInfo;
        }
    }
}
